package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备状态-isis邻居状态对象 device_status_isis_neighb
 * 
 * @author tony
 * @date 2024-12-18
 */
public class DeviceStatusIsisNeighb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    @ApiModelProperty(value = "网元id")
    private String elementId;

    /** 实例名称 */
    @Excel(name = "实例名称")
    @ApiModelProperty(value = "实例名称")
    private String instanceName;

    /** 中间系统标识 */
    @Excel(name = "中间系统标识")
    @ApiModelProperty(value = "中间系统标识")
    private String systemId;

    /** 本端接口 */
    @Excel(name = "本端接口")
    @ApiModelProperty(value = "本端接口")
    private String localInterface;

    /** 邻居状态 */
    @Excel(name = "邻居状态")
    @ApiModelProperty(value = "邻居状态")
    private String neighborState;

    /** 链路类型 */
    @Excel(name = "链路类型")
    @ApiModelProperty(value = "链路类型")
    private String circuitType;

    /** 链路标识 */
    @Excel(name = "链路标识")
    @ApiModelProperty(value = "链路标识")
    private String circuitId;

    /** 保活时间 */
    @Excel(name = "保活时间")
    @ApiModelProperty(value = "保活时间")
    private String holdTime;

    /** 建立时长 */
    @Excel(name = "建立时长")
    @ApiModelProperty(value = "建立时长")
    private String upTime;

    /** 邻居优先级 */
    @Excel(name = "邻居优先级")
    @ApiModelProperty(value = "邻居优先级")
    private String priority;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setSystemId(String systemId) 
    {
        this.systemId = systemId;
    }

    public String getSystemId() 
    {
        return systemId;
    }
    public void setLocalInterface(String localInterface) 
    {
        this.localInterface = localInterface;
    }

    public String getLocalInterface() 
    {
        return localInterface;
    }
    public void setNeighborState(String neighborState) 
    {
        this.neighborState = neighborState;
    }

    public String getNeighborState() 
    {
        return neighborState;
    }
    public void setCircuitType(String circuitType) 
    {
        this.circuitType = circuitType;
    }

    public String getCircuitType() 
    {
        return circuitType;
    }
    public void setCircuitId(String circuitId) 
    {
        this.circuitId = circuitId;
    }

    public String getCircuitId() 
    {
        return circuitId;
    }
    public void setHoldTime(String holdTime) 
    {
        this.holdTime = holdTime;
    }

    public String getHoldTime() 
    {
        return holdTime;
    }
    public void setUpTime(String upTime) 
    {
        this.upTime = upTime;
    }

    public String getUpTime() 
    {
        return upTime;
    }
    public void setPriority(String priority) 
    {
        this.priority = priority;
    }

    public String getPriority() 
    {
        return priority;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getInstanceName() {
        return instanceName;
    }

    public void setInstanceName(String instanceName) {
        this.instanceName = instanceName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
                .append("instanceName", getInstanceName())
            .append("systemId", getSystemId())
            .append("localInterface", getLocalInterface())
            .append("neighborState", getNeighborState())
            .append("circuitType", getCircuitType())
            .append("circuitId", getCircuitId())
            .append("holdTime", getHoldTime())
            .append("upTime", getUpTime())
            .append("priority", getPriority())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
